package com.tg.paw.ums.params;

import com.tg.paw.ums.enmus.LoginAccountTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author Rubble
 * @date 2020/10/27
 */
@Data
@ApiModel("登录参数")
public class LoginAccountParam {

    @ApiModelProperty(value = "登录类型 account,mobile,wechat,alipay",required = true)
    private LoginAccountTypeEnum type;

    @ApiModelProperty("用户名 account模式")
    private String userName;

    @ApiModelProperty("密码 account模式")
    private String password;

    @ApiModelProperty("手机 mobile模式")
    private String mobile;

    @ApiModelProperty("验证码 mobile模式")
    private String captcha;

}
